#sale-hot-container
  .title
    热卖商品
  -@hot_sale_products.each_index do |index|
    -if index%3==0
      .product-item
        - @hot_sale_products[index,3].each do |product|
          .product-cell
            .product-inner
              .product-img
                %a.product_img_href{:href => "javascript:product_show('#{product.id.to_s}')"}
                  = image_tag product.avatar_url
              .product-title
                = product.current_title
              .product-sale
                %span.price
                  = "¥ #{product.current_price}"
                %a.cart{:href => "javascript:add_product_to_cart('#{product.id.to_s}',1)"}
                  = image_tag "/root/icon_add_cart.png"